package com.caiyouxi.restrict.mapper;

import com.caiyouxi.restrict.model.RestrictedByConsume;
import org.apache.ibatis.annotations.Mapper;

/**
 * 根据用户消费行为的限制条件
 * chensong
 */
@Mapper
public interface RestrictedByConsumeMapper {
    
    int delete_restricted_by_consume(int condition_id);
    
    int add_restricted_by_consume(RestrictedByConsume restrictedByConsume);
    
    int update_restricted_by_consume(RestrictedByConsume restrictedByConsume);

    RestrictedByConsume select_restricted_by_consume(int condition_id);
    
}
